import request from "@/utils/request";

export function getSamplingItemByPage(query) {
  return request({
    url: `/system/samplingItem/getSamplingItemByPage`,
    method: "post",
    data: query,
  });
}

// 增加流程模型

export function addSamplingItem(query) {
  return request({
    url: `/system/samplingItem/addSamplingItem`,
    method: "post",
    data: query,
  });
}
/**
 *
 * @param {*} query
 * @returns
 */
export function delSamplingItem(query) {
  return request({
    url: `/system/samplingItem/delSamplingItem`,
    method: "post",
    data: query,
  });
}

export function updateSamplingItem(query) {
  return request({
    url: `/system/samplingItem/updateSamplingItem`,
    method: "post",
    data: query,
  });
}
